﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.StoreHouse
{
   public interface IWmWarehouseAreaServices
    {
        public Task<IEnumerable<WmWarehouseArea>> GetAllAsync();
        public Task<IEnumerable<WmWarehouseArea>> GetAsync(int PageIndex, int PageSize, string AreaNumber, string AreaName);
        public Task<int> GetCountAsync(string AreaNumber, string AreaName);
        public Task<bool> UpdateAsync(WmWarehouseArea model);
        public Task<bool> AddAsync(WmWarehouseArea model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id );

    }
}
